more nits.
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 24 Nov 2021 16:52:22 +0000 (08:52 -0800)
committertsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 24 Nov 2021 16:52:22 +0000 (08:52 -0800)
csv_util.cc
discard.h

index 8233533b8b177e3de027f67c745c4a457913b65f..0a5d986cc5b15db65d50e27adff6719c72f69d39 100644 (file)
@@ -20,7 +20,7 @@
 
  */
 
-#include <assert.h>            // for assert
+#include <cassert>             // for assert
 #include <cctype>              // for isspace
 #include <cmath>               // for fabs
 #include <cstdio>              // for size_t
index e27b41c51a10fffc644732b973204a1c9b96c84b..8e8881198378fb280b0224bf650b5749820c3c5d 100644 (file)
--- a/discard.h
+++ b/discard.h
@@ -41,7 +41,7 @@ public:
   void process() override;
 
 private:
-  QRegularExpression generateRegExp(const QString& glob_pattern);
+  static QRegularExpression generateRegExp(const QString& glob_pattern);
 
 private:
   char* hdopopt = nullptr;